
package app.beit.fintrack.ws.dc;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for authenResultDto complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="authenResultDto">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="firstLogin" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="firstLoginSubSystem" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="menus" type="{http://www.mfec.co.th}menuDto" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="passwordExpired" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="status" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="userDto" type="{http://www.mfec.co.th}userDto" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "authenResultDto", propOrder = {
    "errorMessage",
    "firstLogin",
    "firstLoginSubSystem",
    "menus",
    "passwordExpired",
    "status",
    "userDto"
})
public class AuthenResultDto {

    protected String errorMessage;
    protected boolean firstLogin;
    protected boolean firstLoginSubSystem;
    @XmlElement(nillable = true)
    protected List<MenuDto> menus;
    protected boolean passwordExpired;
    protected int status;
    protected UserDto userDto;

    /**
     * Gets the value of the errorMessage property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getErrorMessage() {
        return errorMessage;
    }

    /**
     * Sets the value of the errorMessage property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setErrorMessage(String value) {
        this.errorMessage = value;
    }

    /**
     * Gets the value of the firstLogin property.
     * 
     */
    public boolean isFirstLogin() {
        return firstLogin;
    }

    /**
     * Sets the value of the firstLogin property.
     * 
     */
    public void setFirstLogin(boolean value) {
        this.firstLogin = value;
    }

    /**
     * Gets the value of the firstLoginSubSystem property.
     * 
     */
    public boolean isFirstLoginSubSystem() {
        return firstLoginSubSystem;
    }

    /**
     * Sets the value of the firstLoginSubSystem property.
     * 
     */
    public void setFirstLoginSubSystem(boolean value) {
        this.firstLoginSubSystem = value;
    }

    /**
     * Gets the value of the menus property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the menus property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMenus().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link MenuDto }
     * 
     * 
     */
    public List<MenuDto> getMenus() {
        if (menus == null) {
            menus = new ArrayList<MenuDto>();
        }
        return this.menus;
    }

    /**
     * Gets the value of the passwordExpired property.
     * 
     */
    public boolean isPasswordExpired() {
        return passwordExpired;
    }

    /**
     * Sets the value of the passwordExpired property.
     * 
     */
    public void setPasswordExpired(boolean value) {
        this.passwordExpired = value;
    }

    /**
     * Gets the value of the status property.
     * 
     */
    public int getStatus() {
        return status;
    }

    /**
     * Sets the value of the status property.
     * 
     */
    public void setStatus(int value) {
        this.status = value;
    }

    /**
     * Gets the value of the userDto property.
     * 
     * @return
     *     possible object is
     *     {@link UserDto }
     *     
     */
    public UserDto getUserDto() {
        return userDto;
    }

    /**
     * Sets the value of the userDto property.
     * 
     * @param value
     *     allowed object is
     *     {@link UserDto }
     *     
     */
    public void setUserDto(UserDto value) {
        this.userDto = value;
    }

}
